package com.fxm.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
/**
 * @author fxm
 * @version V1.0.0
 * @description: 用户规则表
 * @date 2021/02/22 17:05
 */
@Data
@TableName("answer_rule")
public class Rule implements Serializable {
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 用户唯一标识
     */
    private String openid;
    /**
     * 答题时间
     */
    private Integer rule;
    /**
     * 挑战次数
     */
    private Integer challenge;
    /**
     * 删除标记：0=正常;1=已删除
     */
    private Integer deleted;
}
